package com.exam.system.service;

import com.exam.system.entity.ExamInfo;
import com.exam.system.entity.ExamPaper;
import com.exam.system.entity.ExamType;
import com.exam.system.entity.ExamUser;

import java.util.List;

public interface ExamInfoService {
    // 登陆，根据账号查用户名
    List<ExamInfo> findAll();
    List<ExamInfo>  selectByTypeId( Integer examTypeId);

    List<ExamInfo>  selectByExamName(ExamInfo examInfo);

    List<ExamInfo>  selectByBeginTime(String beginTime);

    List<ExamInfo>  selectByExamTypeId(ExamInfo examInfo);

    ExamInfo selectByPrimaryKey(Integer id);

    ExamInfo deleteById(Integer id);

    ExamInfo insert(ExamInfo examInfo);

    List<ExamPaper> findPaper();

    List<ExamType> findExamType();

    void updateById(ExamInfo examInfo);

    List<ExamUser> findAllUser();
}
